#ifndef CXX_DEMO_RADARTRACK_HPP_
#define CXX_DEMO_RADARTRACK_HPP_

#include <string>

/*
 * struct RadarTrack {
 *     string id;
 *     long x;
 *     long yl
 * };
 *
 */
class RadarTrack {
public:
    RadarTrack(){ }
    RadarTrack(const std::string& the_id, int32_t the_x, int32_t the_y)
    : id_(the_id),
      x_(the_x),
      y_(the_y) { }
public:

    const std::string& id() const { return id_; }
    void id(const std::string& s) { id_ = s; }

    int32_t x() const { return x_; }
    void x(int32_t& i) { x_ = i; }

    int32_t y() const { return y_; }
    void y(int32_t& i) { y_ = i;}

protected:
    std::string id_;
    int32_t x_;
    int32_t y_;
};

class MyRadarTrack : public RadarTrack {
public:
    // ...
};

std::ostream&
operator << (std::ostream& os, const RadarTrack& t);


#endif /* CXX_DEMO_RADARTRACK_HPP_ */
